/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.scene.domain;

import com.koron.common.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@ApiModel(value = "项目人员持证实体类", description = "项目人员持证实体类")
public class ProjectCertificate extends BaseEntity {

    @ApiModelProperty(name = "projectId", value = "项目id", dataType = "String")
    private String projectId;

    @ApiModelProperty(name = "enterpriseId", value = "项目相关方id", dataType = "String")
    private String enterpriseId;

    @ApiModelProperty(name = "name", value = "人员名称", dataType = "String")
    private String name;

    @ApiModelProperty(name = "idCardNumber", value = "身份证号码", dataType = "String")
    private String idCardNumber;

    @ApiModelProperty(name = "station", value = "岗位", dataType = "String")
    private String station;

    @ApiModelProperty(name = "certificateName", value = "证书名称", dataType = "String")
    private String certificateName;

    @ApiModelProperty(name = "state", value = "证书状态:0.正常,1.过期,2.缺失", dataType = "Integer")
    private Integer state;

    @ApiModelProperty(name = "expiryDate", value = "有效日期", dataType = "Date")
    private Date expiryDate;

    @ApiModelProperty(name = "attachment", value = "证件附件", dataType = "String")
    private String attachment;

    @ApiModelProperty(name = "previewAttachment", value = "预览附件url", required = false, dataType = "String")
    private String previewAttachment;

    public String getPreviewAttachment() {
        return previewAttachment;
    }

    public void setPreviewAttachment(String previewAttachment) {
        this.previewAttachment = previewAttachment;
    }


    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(String enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdCardNumber() {
        return idCardNumber;
    }

    public void setIdCardNumber(String idCardNumber) {
        this.idCardNumber = idCardNumber;
    }

    public String getStation() {
        return station;
    }

    public void setStation(String station) {
        this.station = station;
    }

    public String getCertificateName() {
        return certificateName;
    }

    public void setCertificateName(String certificateName) {
        this.certificateName = certificateName;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getExpiryDate() {
        return expiryDate;
    }

    public void setExpiryDate(Date expiryDate) {
        this.expiryDate = expiryDate;
    }

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attachment) {
        this.attachment = attachment;
    }
}